const { Pipeline } = require('./index');
const config = require('./configs/demo.json');

const pipeline = new Pipeline(config);
pipeline.on('done', result => {
    console.log('==> Pipeline execution done:', result);
});

pipeline.run({ image_data: 'some_image_data' });